package com.vencent.mybatis.dao;

import com.vencent.mybatis.entity.Student;
import com.vencent.mybatis.model.StudentWithCardAndLecture;
import com.vencent.mybatis.model.StudentWithSelfcard;

public interface StudentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);
    
    StudentWithSelfcard selectStudentWithSelfcard(Integer id);
    
    StudentWithCardAndLecture selectStudentWithCardAndLecture(Integer id);
    
    StudentWithCardAndLecture selectStudentDetail(Integer id);
    
}